/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package mysql.process;

/**
 *
 * @author dell
 */
import entity.function.Requset;
public class ProcessorManager 
{
//static instance_______________________________________________________________    
private static ProcessorManager manager;    
//columns_______________________________________________________________________
private Processor[] pros;
//functions_____________________________________________________________________
     //constructor______________________________________________________________
private ProcessorManager()
{
     
}        
     //operator_________________________________________________________________
private void initialize(String url)
{
     
}
     //static function__________________________________________________________  
public static void init(String url)
{
     manager.initialize(url);
}
public static void add(String target,Requset value)
{
     for(int i=0;i<manager.pros.length;i++)
     {
         if(target==manager.pros[i].getName()) manager.pros[i].add(value);
     }
}
}
